package com.zaoniao.enstudy.infrastructure.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 单词考试记录表
 * z_exam_paper
 */
@Data
@Table(name = "z_exam_paper")
public class ExamPaperPo implements Serializable {
    /**
     * 主键id
     */
    @Id
    private Integer id;

    /**
     * 用户id:openId
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 考试开始时间
     */
    @Column(name = "exam_start_time")
    private Date examStartTime;

    /**
     * 考试结束时间
     */
    @Column(name = "exam_end_time")
    private Date examEndTime;

    /**
     * 本次考试题目数量
     */
    @Column(name = "question_count")
    private Integer questionCount;

    /**
     * 本次考试正确数
     */
    @Column(name = "true_count")
    private Integer trueCount;

    private static final long serialVersionUID = 1L;
}